package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.CheckItem;
import com.itheima.pojo.Permission;

import java.util.List;

public interface PermissionService {

    public List<Permission> findAllPermission();

    public PageResult pageQuery(QueryPageBean queryPageBean);

    public void add(Permission permission);

    Permission query(Integer id);

    void updateById(Permission permission);

    boolean deleteById(Integer id);
}
